package com.video.system.domain;

import java.math.BigDecimal;
import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品对象 video_commodity
 * 
 * @author lyh
 * @date 2021-07-21
 */
public class VideoCommodity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Integer commodityId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commodityName;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String describe;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String commodityPic;

    public void setCommodityId(Integer commodityId) 
    {
        this.commodityId = commodityId;
    }

    public Integer getCommodityId() 
    {
        return commodityId;
    }
    public void setCommodityName(String commodityName) 
    {
        this.commodityName = commodityName;
    }

    public String getCommodityName() 
    {
        return commodityName;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDescribe(String describe) 
    {
        this.describe = describe;
    }

    public String getDescribe() 
    {
        return describe;
    }
    public void setCommodityPic(String commodityPic) 
    {
        this.commodityPic = commodityPic;
    }

    public String getCommodityPic() 
    {
        return commodityPic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("commodityId", getCommodityId())
            .append("commodityName", getCommodityName())
            .append("price", getPrice())
            .append("describe", getDescribe())
            .append("commodityPic", getCommodityPic())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
